Ticket #3432: EMU_Definition (112 detectors - 2 DAE).xml

File EMU_Definition (112 detectors - 2 DAE).xml, 15.4 KB (added by Anders Markvardsen, 9 years ago)

Special one-off 112 spectra EMU IDF

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- For help on the notation used to specify an Instrument Definition File
3     see http://www.mantidproject.org/IDF -->
4<instrument name="EMU" valid-from   ="1900-01-31 23:59:59"
5                       valid-to     ="2100-01-31 23:59:59"
6                       last-modified="2010-08-27 00:00:00">
7  <defaults>
8    <length unit="meter"/>
9    <angle unit="degree"/>
10    <parameter eq="" type="double" extract-single-value-as="mean" />       
11    <reference-frame>
12      <!-- The z-axis is set parallel to and in the direction of the beam. the
13           y-axis points up and the coordinate system is right handed. -->
14      <along-beam axis="z"/>
15      <pointing-up axis="y"/>
16      <handedness val="right"/>
17    </reference-frame>
18  </defaults>
19
20 
21  <!-- BRIEF DESCRIPTION OF EMU INSTRUMENT:
22 
23      Data provided by Stephen Cottrell for the EMU instrument
24  -->
25 
26 
27  <!-- LIST OF PHYSICAL COMPONENTS (which the instrument consists of) -->
28 
29  <!-- dummy components added for visualisation purposes.
30       To easy spot what geometry the instrument is in -->
31       
32  <component type="along z">
33    <location />
34  </component> 
35       
36  <type name="along z">
37  <cylinder id="A">
38    <centre-of-bottom-base x="0.0" y="0.0" z="0.0" />
39    <axis x="0.0" y="0" z="1" /> 
40    <radius val="0.002" />
41    <height val="0.10" />
42  </cylinder>
43  </type> 
44 
45  <component type="along x">
46    <location />
47  </component> 
48       
49  <type name="along x">
50  <cylinder id="B">
51    <centre-of-bottom-base x="0.0" y="0.0" z="0.0" />
52    <axis x="1.0" y="0" z="0" /> 
53    <radius val="0.002" />
54    <height val="0.10" />
55  </cylinder>
56  </type> 
57 
58  <component type="along y">
59    <location />
60  </component> 
61       
62  <type name="along y">
63  <cylinder id="C">
64    <centre-of-bottom-base x="0.0" y="0.0" z="0.0" />
65    <axis x="0.0" y="1" z="0" /> 
66    <radius val="0.002" />
67    <height val="0.10" />
68  </cylinder>
69  </type> 
70 
71  <!-- source and sample-position components -->
72
73  <component type="source">
74    <location z="-10.0" />
75  </component>
76 
77  <type name="source" is="Source" />
78 
79  <component type="some-sample-holder">
80    <location />
81  </component>
82 
83  <type name="some-sample-holder" is="SamplePos" />
84 
85  <!-- detector components --> 
86 
87  <component type="all-rings"  idlist="all">
88    <location />
89  </component> 
90 
91  <type name="all-rings">
92     <component type="rings-front" >
93       <location />
94     </component>
95     <component type="rings-back" >
96       <location />     
97     </component>   
98  </type>
99 
100  <type name="rings-front" >
101     <component type="front-inner">
102        <location z="-0.135" name="ring-front-inner" /> <!-- Tube nearest magnet body, scintillator furthest from beam -->
103     </component>
104     <component type="front-middle">     
105        <location z="-0.175" name="ring-front-middle" />
106     </component>
107     <component type="front-outer">     
108        <location z="-0.2855" name="ring-front-outer" />
109     </component>     
110  </type>
111 
112  <type name="rings-back" >
113     <component type="back-inner">
114        <location z="0.135" name="ring-back-inner" />
115     </component>
116     <component type="back-middle">     
117        <location z="0.175" name="ring-back-middle" />
118     </component>
119     <component type="back-outer">     
120        <location z="0.2855" name="ring-back-outer" />
121     </component>     
122  </type>
123 
124  <type name="front-inner">
125    <component type="inner-pixel">
126       <location r="0.0862" t="90" p="90.000000" rot="90.000000" name="det1"/>
127       <location r="0.0862" t="90" p="67.500000" rot="67.500000" name="det4"/>
128       <location r="0.0862" t="90" p="45.000000" rot="45.000000" name="det7"/>
129       <location r="0.0862" t="90" p="22.500000" rot="22.500000" name="det10"/>
130       <location r="0.0862" t="90" p="0.000000" rot="0.000000" name="det13"/>
131       <location r="0.0862" t="90" p="337.500000" rot="337.500000" name="det16"/>
132       <location r="0.0862" t="90" p="315.000000" rot="315.000000" name="det19"/>
133       <location r="0.0862" t="90" p="292.500000" rot="292.500000" name="det22"/>
134       <location r="0.0862" t="90" p="270.000000" rot="270.000000" name="det25"/>
135       <location r="0.0862" t="90" p="247.500000" rot="247.500000" name="det28"/>
136       <location r="0.0862" t="90" p="225.000000" rot="225.000000" name="det31"/>
137       <location r="0.0862" t="90" p="202.500000" rot="202.500000" name="det34"/>
138       <location r="0.0862" t="90" p="180.000000" rot="180.000000" name="det37"/>
139       <location r="0.0862" t="90" p="157.500000" rot="157.500000" name="det40"/>
140       <location r="0.0862" t="90" p="135.000000" rot="135.000000" name="det43"/>
141       <location r="0.0862" t="90" p="112.500000" rot="112.500000" name="det46"/>
142       <location r="0.0862" t="90" p="90.000000" rot="90.000000" name="det97"/>
143       <location r="0.0862" t="90" p="67.500000" rot="67.500000" name="det100"/>
144       <location r="0.0862" t="90" p="45.000000" rot="45.000000" name="det103"/>
145       <location r="0.0862" t="90" p="22.500000" rot="22.500000" name="det106"/>
146       <location r="0.0862" t="90" p="0.000000" rot="0.000000" name="det109"/>
147       <location r="0.0862" t="90" p="337.500000" rot="337.500000" name="det112"/>
148    </component>   
149  </type> 
150 
151  <type name="back-inner">
152    <component type="inner-pixel">
153       <location r="0.0862" t="90" p="90.000000" rot="90.000000" name="det49"/>
154       <location r="0.0862" t="90" p="67.500000" rot="67.500000" name="det52"/>
155       <location r="0.0862" t="90" p="45.000000" rot="45.000000" name="det55"/>
156       <location r="0.0862" t="90" p="22.500000" rot="22.500000" name="det58"/>
157       <location r="0.0862" t="90" p="0.000000" rot="0.000000" name="det61"/>
158       <location r="0.0862" t="90" p="337.500000" rot="337.500000" name="det64"/>
159       <location r="0.0862" t="90" p="315.000000" rot="315.000000" name="det67"/>
160       <location r="0.0862" t="90" p="292.500000" rot="292.500000" name="det70"/>
161       <location r="0.0862" t="90" p="270.000000" rot="270.000000" name="det73"/>
162       <location r="0.0862" t="90" p="247.500000" rot="247.500000" name="det76"/>
163       <location r="0.0862" t="90" p="225.000000" rot="225.000000" name="det79"/>
164       <location r="0.0862" t="90" p="202.500000" rot="202.500000" name="det82"/>
165       <location r="0.0862" t="90" p="180.000000" rot="180.000000" name="det85"/>
166       <location r="0.0862" t="90" p="157.500000" rot="157.500000" name="det88"/>
167       <location r="0.0862" t="90" p="135.000000" rot="135.000000" name="det91"/>
168       <location r="0.0862" t="90" p="112.500000" rot="112.500000" name="det94"/>
169    </component>   
170  </type> 
171 
172  <type name="front-middle">
173    <component type="middle-pixel">
174       <location r="0.0812" t="90" p="90.000000" rot="90.000000" name="det2"/>
175       <location r="0.0812" t="90" p="67.500000" rot="67.500000" name="det5"/>
176       <location r="0.0812" t="90" p="45.000000" rot="45.000000" name="det8"/>
177       <location r="0.0812" t="90" p="22.500000" rot="22.500000" name="det11"/>
178       <location r="0.0812" t="90" p="0.000000" rot="0.000000" name="det14"/>
179       <location r="0.0812" t="90" p="337.500000" rot="337.500000" name="det17"/>
180       <location r="0.0812" t="90" p="315.000000" rot="315.000000" name="det20"/>
181       <location r="0.0812" t="90" p="292.500000" rot="292.500000" name="det23"/>
182       <location r="0.0812" t="90" p="270.000000" rot="270.000000" name="det26"/>
183       <location r="0.0812" t="90" p="247.500000" rot="247.500000" name="det29"/>
184       <location r="0.0812" t="90" p="225.000000" rot="225.000000" name="det32"/>
185       <location r="0.0812" t="90" p="202.500000" rot="202.500000" name="det35"/>
186       <location r="0.0812" t="90" p="180.000000" rot="180.000000" name="det38"/>
187       <location r="0.0812" t="90" p="157.500000" rot="157.500000" name="det41"/>
188       <location r="0.0812" t="90" p="135.000000" rot="135.000000" name="det44"/>
189       <location r="0.0812" t="90" p="112.500000" rot="112.500000" name="det47"/>
190       <location r="0.0812" t="90" p="90.000000" rot="90.000000" name="det98"/>
191       <location r="0.0812" t="90" p="67.500000" rot="67.500000" name="det101"/>
192       <location r="0.0812" t="90" p="45.000000" rot="45.000000" name="det104"/>
193       <location r="0.0812" t="90" p="22.500000" rot="22.500000" name="det107"/>
194       <location r="0.0812" t="90" p="0.000000" rot="0.000000" name="det110"/>
195    </component>   
196  </type> 
197 
198  <type name="back-middle">
199    <component type="middle-pixel">
200       <location r="0.0812" t="90" p="90.000000" rot="90.000000" name="det50"/>
201       <location r="0.0812" t="90" p="67.500000" rot="67.500000" name="det53"/>
202       <location r="0.0812" t="90" p="45.000000" rot="45.000000" name="det57"/>
203       <location r="0.0812" t="90" p="22.500000" rot="22.500000" name="det59"/>
204       <location r="0.0812" t="90" p="0.000000" rot="0.000000" name="det62"/>
205       <location r="0.0812" t="90" p="337.500000" rot="337.500000" name="det65"/>
206       <location r="0.0812" t="90" p="315.000000" rot="315.000000" name="det68"/>
207       <location r="0.0812" t="90" p="292.500000" rot="292.500000" name="det71"/>
208       <location r="0.0812" t="90" p="270.000000" rot="270.000000" name="det74"/>
209       <location r="0.0812" t="90" p="247.500000" rot="247.500000" name="det77"/>
210       <location r="0.0812" t="90" p="225.000000" rot="225.000000" name="det80"/>
211       <location r="0.0812" t="90" p="202.500000" rot="202.500000" name="det83"/>
212       <location r="0.0812" t="90" p="180.000000" rot="180.000000" name="det86"/>
213       <location r="0.0812" t="90" p="157.500000" rot="157.500000" name="det89"/>
214       <location r="0.0812" t="90" p="135.000000" rot="135.000000" name="det92"/>
215       <location r="0.0812" t="90" p="112.500000" rot="112.500000" name="det95"/>
216    </component>   
217  </type> 
218 
219  <type name="front-outer">
220    <component type="outer-pixel">
221       <location r="0.0762" t="90" p="90.000000" rot="90.000000" name="det3"/>
222       <location r="0.0762" t="90" p="67.500000" rot="67.500000" name="det6"/>
223       <location r="0.0762" t="90" p="45.000000" rot="45.000000" name="det9"/>
224       <location r="0.0762" t="90" p="22.500000" rot="22.500000" name="det12"/>
225       <location r="0.0762" t="90" p="0.000000" rot="0.000000" name="det15"/>
226       <location r="0.0762" t="90" p="337.500000" rot="337.500000" name="det18"/>
227       <location r="0.0762" t="90" p="315.000000" rot="315.000000" name="det21"/>
228       <location r="0.0762" t="90" p="292.500000" rot="292.500000" name="det24"/>
229       <location r="0.0762" t="90" p="270.000000" rot="270.000000" name="det27"/>
230       <location r="0.0762" t="90" p="247.500000" rot="247.500000" name="det30"/>
231       <location r="0.0762" t="90" p="225.000000" rot="225.000000" name="det33"/>
232       <location r="0.0762" t="90" p="202.500000" rot="202.500000" name="det36"/>
233       <location r="0.0762" t="90" p="180.000000" rot="180.000000" name="det39"/>
234       <location r="0.0762" t="90" p="157.500000" rot="157.500000" name="det42"/>
235       <location r="0.0762" t="90" p="135.000000" rot="135.000000" name="det45"/>
236       <location r="0.0762" t="90" p="112.500000" rot="112.500000" name="det48"/>
237       <location r="0.0762" t="90" p="90.000000" rot="90.000000" name="det99"/>
238       <location r="0.0762" t="90" p="67.500000" rot="67.500000" name="det102"/>
239       <location r="0.0762" t="90" p="45.000000" rot="45.000000" name="det105"/>
240       <location r="0.0762" t="90" p="22.500000" rot="22.500000" name="det108"/>
241       <location r="0.0762" t="90" p="0.000000" rot="0.000000" name="det111"/>
242    </component>   
243  </type> 
244 
245  <type name="back-outer">
246    <component type="outer-pixel">
247       <location r="0.0762" t="90" p="90.000000" rot="90.000000" name="det51"/>
248       <location r="0.0762" t="90" p="67.500000" rot="67.500000" name="det54"/>
249       <location r="0.0762" t="90" p="45.000000" rot="45.000000" name="det57"/>
250       <location r="0.0762" t="90" p="22.500000" rot="22.500000" name="det60"/>
251       <location r="0.0762" t="90" p="0.000000" rot="0.000000" name="det63"/>
252       <location r="0.0762" t="90" p="337.500000" rot="337.500000" name="det66"/>
253       <location r="0.0762" t="90" p="315.000000" rot="315.000000" name="det69"/>
254       <location r="0.0762" t="90" p="292.500000" rot="292.500000" name="det72"/>
255       <location r="0.0762" t="90" p="270.000000" rot="270.000000" name="det75"/>
256       <location r="0.0762" t="90" p="247.500000" rot="247.500000" name="det78"/>
257       <location r="0.0762" t="90" p="225.000000" rot="225.000000" name="det81"/>
258       <location r="0.0762" t="90" p="202.500000" rot="202.500000" name="det84"/>
259       <location r="0.0762" t="90" p="180.000000" rot="180.000000" name="det87"/>
260       <location r="0.0762" t="90" p="157.500000" rot="157.500000" name="det90"/>
261       <location r="0.0762" t="90" p="135.000000" rot="135.000000" name="det93"/>
262       <location r="0.0762" t="90" p="112.500000" rot="112.500000" name="det96"/>
263    </component>   
264  </type> 
265   
266  <type name="inner-pixel" is="detector"> 
267    <!-- It is implicitely assumed here that the front y-z plane (looking down
268         the x-axis) is the surface that see the neutron beam.
269         This surface is 36mm along y and 30mm along z and the dept along x is 5mm.  -->
270    <cuboid id="inner-shape">
271      <left-front-bottom-point x="0.0" y="-0.018" z="-0.015"  />
272      <left-front-top-point  x="0.0" y="0.018" z="-0.015"  />
273      <left-back-bottom-point  x="0.005" y="-0.018" z="-0.015"  />
274      <right-front-bottom-point  x="0.0" y="-0.018" z="0.015"  />
275    </cuboid>
276    <algebra val="inner-shape" />     
277  </type>
278 
279  <type name="middle-pixel" is="detector"> 
280    <!-- It is implicitely assumed here that the front y-z plane (looking down
281         the x-axis) is the surface that see the neutron beam.
282         This surface is 33mm along y and 50mm along z and the dept along x is 5mm.  -->
283    <cuboid id="middle-shape">
284      <left-front-bottom-point x="0.0" y="-0.0165" z="-0.025"  />
285      <left-front-top-point  x="0.0" y="0.0165" z="-0.025"  />
286      <left-back-bottom-point  x="0.005" y="-0.0165" z="-0.025"  />
287      <right-front-bottom-point  x="0.0" y="-0.0165" z="0.025"  />
288    </cuboid>
289    <algebra val="middle-shape" />     
290  </type>
291 
292  <type name="outer-pixel" is="detector"> 
293    <!-- It is implicitely assumed here that the front y-z plane (looking down
294         the x-axis) is the surface that see the neutron beam.
295         This surface is 30mm along y and 171mm along z and the dept along x is 5mm.  -->
296    <cuboid id="outer-shape">
297      <left-front-bottom-point x="0.0" y="-0.015" z="-0.0855"  />
298      <left-front-top-point  x="0.0" y="0.015" z="-0.0855"  />
299      <left-back-bottom-point  x="0.005" y="-0.015" z="-0.0855"  />
300      <right-front-bottom-point  x="0.0" y="-0.015" z="0.0855"  />
301    </cuboid>
302    <algebra val="outer-shape" />     
303  </type>       
304   
305  <!-- DETECTOR ID LISTS -->
306 
307  <idlist idname="all">
308    <id start="1" step="3" end="46"/>
309    <id start="2" step="3" end="47"/>     
310    <id start="3" step="3" end="48"/>
311    <id start="49" step="3" end="94"/>       
312    <id start="50" step="3" end="95"/>       
313    <id start="51" step="3" end="96"/>
314    <id start="97" step="3" end="112"/>
315    <id start="98" step="3" end="110"/>     
316    <id start="99" step="3" end="111"/>           
317  </idlist>
318
319
320 
321</instrument>